import 'package:u_push_plugin/data.dart';

/**
 *
 * @ProjectName:    u_push_plugin
 * @ClassName:      test_message_data
 * @Description:    dart文件描述
 * @Author:         孙浩
 * @QQ:             243280864
 * @CreateDate:     2020/9/9 17:05
 */
class MessageData extends BaseMessageData{

  String message;
  int type;

  MessageData(Map<dynamic, dynamic> mapData) : super(mapData);

  @override
  void createDataByMap(Map<dynamic, dynamic> mapData) {
    message = mapData["message"];
    type = int.parse(mapData["type"]) ;
  }

}